Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@jupyterlab/coreutils

Package Overview
Dependencies
Maintainers
10
Versions
354
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/coreutils

JupyterLab - Core Utilities


Version published
Weekly downloads
100K
decreased by-12.3%
Maintainers
10
Weekly downloads
 
Created

What is @jupyterlab/coreutils?

@jupyterlab/coreutils is a utility library for JupyterLab that provides a set of core utilities for working with JupyterLab extensions and applications. It includes functions for handling settings, time, URLs, and more.

What are @jupyterlab/coreutils's main functionalities?

Settings

This feature allows you to manage settings for JupyterLab extensions. The code sample demonstrates how to load settings for a specific plugin.

const { Settings } = require('@jupyterlab/coreutils');
const settings = new Settings({
  serverSettings: { baseUrl: 'http://localhost:8888' },
  pluginId: 'my-plugin'
});
settings.load().then(data => {
  console.log(data);
});

Time

This feature provides utilities for handling and formatting time. The code sample shows how to format the current date and time.

const { Time } = require('@jupyterlab/coreutils');
const timestamp = Time.format(new Date(), 'YYYY-MM-DD HH:mm:ss');
console.log(timestamp);

URLs

This feature includes utilities for working with URLs. The code sample demonstrates how to join parts of a URL into a full URL.

const { URLExt } = require('@jupyterlab/coreutils');
const fullUrl = URLExt.join('http://localhost:8888', 'api', 'contents');
console.log(fullUrl);

Other packages similar to @jupyterlab/coreutils

FAQs

Package last updated on 26 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc